package com.smartcampusbackend.service;

import com.smartcampusbackend.model.MakeupExamApplication;
import java.util.List;
import java.util.Map;

public interface MakeupExamApplicationService {

    // 学生申请补考
    boolean applyMakeupExam(MakeupExamApplication application);
    
    // 教师批准补考申请
    boolean approveApplication(Long applicationId);
    
    // 教师录入补考成绩
    boolean reviewApplication(Long applicationId, Double makeupScore, String remark);
    
    // 获取学生的补考申请列表
    List<MakeupExamApplication> getStudentApplications(String studentId);
    
    // 获取老师负责课程的补考申请列表
    List<MakeupExamApplication> getTeacherApplications(String teacherId);
    
    // 获取所有补考申请列表（管理员）
    List<MakeupExamApplication> getAllApplications();
    
    // 根据ID获取补考申请
    MakeupExamApplication getApplicationById(Long id);
    
    // 获取补考统计数据
    Map<String, Object> getMakeupExamStatistics();
} 